import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    one: ''
  },
  mutations: {
    setOne (state, val) {
      state.one = val

      // console.log(val, '1')
      // console.log(state.one, '2')
    }

  },
  actions: {
  },
  modules: {
  }
})
